// javamaps
// Copyright (c) 2010 Lup Gratian
package Rendering.Info;
import Core.*;
import Rendering.*;

public final class LinkInfo implements IObjectInfo {
    private Link link_;
    private Node parentNode_;
    private IRenderer parent_;

    /*
     * Constructori.
     */
    public LinkInfo(Link link, Node parentNode, IRenderer parent) {
        link_ = link;
        parentNode_ = parentNode;
        parent_ = parent;
    }

    /*
     * Metode publice.
     */
    public InfoType Type() { return InfoType.Link; }
    public IRenderer Parent() { return parent_; }
    public Link Link() { return link_; }
    public Node ParentNode() { return parentNode_; }
}